<?php $this->load->view('shared/header');?>

<?php if(isset($message)):?>

	<p><?php echo $message; ?></p>

<?php endif; ?>



<ul>

<form action="<?php echo URL.'users/change_password/'.$user['id'];?>" method="post">
	<fieldset>
    	<legend>Reset Password</legend>
    	<?php echo FORM::hidden('email', $user['email']); ?>
        <?php echo FORM::hidden('token', $token); ?>
        <?php echo FORM::input('new_password', 'New Password', '', array('type'=>'password') ); ?>
        <?php echo FORM::input('new_password_confirm', 'Confirm Password', '', array('type' => 'password') ); ?> 
        <input type="submit" class="input-submit" value="Change"/>
</form>

<?php $this->load->view('shared/footer');?>



